package com.zxd.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author xudongzhou
 * @date 2022 -07 -25
 * @description
 */
@Data
@ApiModel("认证参数")
public class AdminDto {

    @ApiModelProperty("用户名")
    @NotBlank(message = "用户名不能位空")
    private String username;
    @NotBlank(message = "密码不能位空")
    @ApiModelProperty("密码")
    //默认密码123456
    private String password;



}
